package com.tw.people.util;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: twer
 * Date: 12/18/11
 * Time: 1:40 PM
 * To change this template use File | Settings | File Templates.
 */
public class TimeSheetRecordSet {
    private TimeSheetRecord pair;
    private List<TimeSheetRecord> records = new ArrayList<TimeSheetRecord>();

    public int size() {
        return records.size();  //To change body of created methods use File | Settings | File Templates.
    }

    public void add(String empId, String name, String days) {
        TimeSheetRecord record = new TimeSheetRecord(empId, name, days);
        records.add(record);
    }

    public List<TimeSheetRecord> getRecords() {
        return records;
    }
}
